←Select platform

ReadBarcodes(RasterImage,LeadRect,Int32,BarcodeSymbology[]) Method

Summary
For information about this method please see ReadBarcodes.

Syntax
C#
Objective-C
C++/CLI
Python
- (nullable NSArray<LTBarcodeData *> *)readBarcodes:(LTRasterImage *)image searchBounds:(LeadRect)searchBounds maximumBarcodes:(NSUInteger)maximumBarcodes symbologies:(nullable NSArray<NSNumber *> *)symbologies error:(NSError **)error NS_SWIFT_NOTHROW; 
def ReadBarcodes(self,image,searchBounds,maximumBarcodes,] symbologies): 

Parameters

image
A RasterImage object that contains the image data. Must not be null.

searchBounds
A LeadRect that specifies the region of interest area in the image where the barcodes search and detection is performed. You can specify empty rectangle to indicate that the search must be performed on the whole image.

maximumBarcodes
An Int32 that specifies the maximum number of barcodes to return. Must be a value greater than or equal to 0. The value of 0 means all barcodes.

symbologies
An array of BarcodeSymbology enumeration members that specifies the barcode symbologies (types) to search for.

Return Value

An array of BarcodeData objects that contains the symbology, data, location and any rotation angle for each barcode found. If no barcodes can be found, then this method will return an empty array (Length equals to 0).

Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Barcode Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.